package com.cloudcc.mobile.view.activity;

import android.content.Intent;
import android.os.Bundle;

import com.cloudcc.mobile.view.base.BaseFragmentActivity;
import com.cloudcc.mobile.view.fragment.BeauInfoFragment;

public class BeauInfoActivity extends BaseFragmentActivity {

	private BeauInfoFragment fragment;

	@Override
	public void init(Bundle savedInstanceState) {
		super.init(savedInstanceState);

		fragment = new BeauInfoFragment();
		fragment.setArguments(getIntent().getExtras());
		getSupportFragmentManager().beginTransaction()
				.add(getContainerId(), fragment).commit();
	}

	@Override
	protected void onNewIntent(Intent intent) {
		finish();
		startActivity(intent);
	}
}
